home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / B-C / C Primer 2nd letter.sit / C Primer 2nd letter.text
Encoding:
Text File  |  1992-08-18  |  2.2 KB  |  54 lines  |  [TEXT/EDIT]

  1. Dear Reader,
  2.  
  3. Hope you are enjoying this new edition of the Macintosh Programming Primer. Cartwright and I put a lot of work into it and are looking forward to your comments and feedback. If you get a chance, stop by the Learn Programming forum on CompuServe and drop us a line. To get there, type GO MACDEV, then check out Section 11.
  4.  
  5. Based on the letters we’ve received so far, we’ve put together a list of changes to this first printing (see below). Please pass this list on to anyone you know who may have purchased this first printing of the second edition. They’ll thank you for it.
  6.  
  7. Well, that’s about it. Thanks again for your support.
  8.  
  9. Your faithful authors,
  10.  
  11. Dave Mark and Cartwright Reed
  12. DMark on America Online
  13.  
  14. ----------------------------------
  15.  
  16. Chapter 4, page 190 or so:    The HighLevelEvent-Aware SIZE flag must be set in order for EventTrigger to run properly.
  17. Chapter 4, Page 150 and bottom page 165, EventTracker:
  18.     thePart should be declared as a short.
  19. Chapter 6, Reminder:    These few code changes fix a bug that cause Reminder to break under System 7.1...
  20.     1)    Add this struct definition just before function prototypes:
  21.                 
  22.                 struct PopupPrivateData
  23.                 {
  24.                     MenuHandle  mHandle;
  25.                     short       mID;
  26.                     char        mPrivate[1];
  27.                 };
  28.  
  29.     2) Add this line to the variable declaration list in the function CopyDialogToReminder():
  30.  
  31.                 struct PopupPrivateData        **popupDataHandle;
  32.  
  33.     3) On page 325, replace the second line from the bottom - it currently reads:
  34.  
  35.                 menu = GetMHandle( mMinutes );
  36.  
  37.     with this code:
  38.  
  39.                 popupDataHandle = (struct PopupPrivateData **)
  40.                   ((**(ControlHandle)itemHandle).contrlData);
  41.                 menu = (**popupDataHandle).mHandle;
  42.  
  43.  
  44. Chapter 6, Reminder:    When the Edit MENU resource is set up, make sure the “Entire Menu Enabled” check-box is unchecked.
  45. Chapter 6, Reminder:    Change InitGraf( &qd.thePort ) to InitGraf( &thePort )
  46. Chapter 6, Reminder:    Change the line:
  47.       reminder->notify.nmResp = &LaunchResponse;
  48. to
  49.       reminder->notify.nmResp = (NMProcPtr)&LaunchResponse;
  50.     Change the else clause using the (NMProcPtr) typecast also.
  51. Page 116:    Change i— to i-- in MainLoop().
  52. Page 328:    Bottom of page, 4 Apple symbols are missing in text.
  53. Page 617:    Reference to Mondrian should be WorldCLock.
  54.